package models;

import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import play.data.validation.Required;
import play.db.jpa.Model;

@Entity
public class Resultat extends Model{
	
	@Required
	@Column(unique=true)
	public String id_resultat;
	
	@Required
	public String res;
	
	public Resultat(String res){
		this.res=res;
	}
	
	public String toString(){
		return res;
	}
}
